package com.suneee.refund.params;

import java.util.HashMap;
import java.util.Map;

public class RefundParams {

	public static final String TYPE_REFUND = "退款";
	public static final String TYPE_REJECTED_CHANGE = "退换货";
	/**
	 * 待处理
	 */
	public static final String PROCESS_STATUS_INIT = "INIT";
	/**
	 * 客服处理中(同意退款、退货)
	 */
	public static final String PROCESS_STATUS_PROCESS = "PROCESS";
	
	
	/**
	 * 客服同意(退货/换货) 进入仓库处理环节  客服点击 同意退货/换货通知仓库入库
	
	public static String PROCESS_STATUS_WAREHOUSE = "WAREHOUSE";
	 */
	
	
	/**
	 * 客服拒绝退款（货）
	 */
	public static final String PROCESS_STATUS_DENY = "DENY";
	/**
	 * 成功(已结束退款、退货)
	 */
	public static final String PROCESS_STATUS_SUCCESS = "SUCCESS";
	
	/**
	 * 退款
	 */
	public static final String AFTER_SALE_TYPE_REFUND_MONEY = "REFUND_MONEY";
	/**
	 * 退货
	 */
	public static final String AFTER_SALE_TYPE_REFUND_REFUND_GOODS = "REFUND_GOODS";
	/**
	 * 换货
	 */
	public static final String AFTER_SALE_TYPE_REFUND_CHANGE_GOODS = "CHANGE_GOODS";
	
	
	/**
	 * 运输途中损坏
	 */
	public static final String CHECK_RESULT_S001 = "S001";
	/**
	 * 完整（可重售）
	 */
	public static final String CHECK_RESULT_S002 = "S002";
	/**
	 * 完整（不可重售）
	 */
	public static final String CHECK_RESULT_S003 = "S003";
	/**
	 * 返回商品与请求商品不符
	 */
	public static final String CHECK_RESULT_S004 = "S004";
	/**
	 * 验收结果
	 */
	public static final Map<String,String> CHECK_RESULT_MAP = new HashMap<String, String>(){
		{
			put(CHECK_RESULT_S001, "运输途中损坏");
			put(CHECK_RESULT_S002, "完整（可重售）");
			put(CHECK_RESULT_S003, "完整（不可重售）");
			put(CHECK_RESULT_S004, "返回商品与请求商品不符");
		}
	};
	
	/**
	 * 仓库反馈状态：允许入库
	 */
	public static final String FEEDBACK_STATUS_ACCEPT = "ACCEPT";
	/**
	 * 仓库反馈状态：拒绝入库 
	 */
	public static final String FEEDBACK_STATUS_DENY = "DENY";
	
	
	/**
	 * 买家同意换货
	 */
	public static final String PHASE_TYPE_SELLER_AGREE = "SELLER_AGREE";
	/**
	 * 仓库验货通过
	 */
	public static final String PHASE_TYPE_STOCK_AGREE = "STOCK_AGREE";
	/**
	 * 仓库验货通过,但不允许入库
	 */
	public static final String PHASE_TYPE_STOCK_DENY = "STOCK_DENY";
	/**
	 * 发货类型:换货发货
	 */
	public static final String SHOPP_TYPE_CHANGE_GOODS = "换货发货";
	/**
	 * 发货状态:待发货
	 */
	public static final String SHOPP_STATUS_TO_BE_SHIPPED = "待发货";
	
	
	/**
	 * 未处理
	 */
	public static final String REFUND_RESULT_INIT = "INIT";
	/**
	 * 退款成功
	 */
	public static final String REFUND_RESULT_SUCCESS = "SUCCESS";
	/**
	 * 退款失败
	 */
	public static final String REFUND_RESULT_FAIL = "FAIL";
	/**
	 * 拒绝退款
	 */
	public static final String REFUND_RESULT_DENY = "DENY";
	/**
	 * 同意退款
	 */
	public static final String REFUND_RESULT_ACCEPT = "ACCEPT";
	
	/**
	 * 换货类型标志
	 */
	public static final String CG_ID_FLAG = "H";
	
	/**
	 * 买家已经申请退款，等待卖家同意
	 */
	public static final String ORDER_STATUS_WAIT_SELLER_AGREE = "WAIT_SELLER_AGREE";
	
	/**
	 * 卖家已经同意退款，等待买家退货
	 */
	public static final String ORDER_STATUS_WAIT_BUYER_RETURN_GOODS = "WAIT_BUYER_RETURN_GOODS";
	
	/**
	 * 买家已经退货，等待卖家确认收货
	 */
	public static final String ORDER_STATUS_WAIT_SELLER_CONFIRM_GOODS = "WAIT_SELLER_CONFIRM_GOODS";
	
	/**
	 * 商品已发货-售后退款单关闭
	 */
	
	
	/**
	 * 等待买家确认收货
	 */
	public static final String ORDER_STATUS_WAIT_BUYER_CONFIRM_GOODS = "WAIT_BUYER_CONFIRM_GOODS";
	
	/**
	 * 卖家拒绝退款
	 */
	public static final String ORDER_STATUS_SELLER_REFUSE_BUYER = "SELLER_REFUSE_BUYER";
	
	/**
	 * 退款关闭
	 */
	public static final String ORDER_STATUS_CLOSED = "CLOSED";
	
	/**
	 * 退款成功
	 */
	public static final String ORDER_STATUS_SUCCESS = "SUCCESS";
	
	/**
	 * 仓库已验货
	 */
	public static final String ORDER_STATUS_STOCK_HAS_CHECKED = "STOCK_HAS_CHECKED";
	
	/**
	 * 已换货出库
	 */
	public static final String ORDER_STATUS_ALEADY_CHANGE_GOODS = "ALEADY_CHANGE_GOODS";
	
}
